import request from '../utils/request'


export function getAddressListData (params) {
	return request({
		url: '/address/list',
		method: 'GET',
		data: params,
		header: {
		  token: wx.getStorageSync('token') || ''
		}
	})
} 


export function deleteAddressFn (params) {
	return request({
		url: '/address/delete',
		method: 'POST',
		data: params,
		header: {
		  token: wx.getStorageSync('token') || ''
		}
	})
} 
export function addAddressFn (params) {
	return request({
		url: '/address/add',
		method: 'POST',
		data: params,
		header: {
		  token: wx.getStorageSync('token') || ''
		}
	})
} 